<template>
  <el-image
    :src="getImageUrl(props.url + '.png')"
    alt=""
    :fit="props.fit"
    class="w-[100%] h-[100%]"
  />
</template>

<script setup lang="ts">
import { getImageUrl } from "@renderer/utils/other";
import {} from "vue";

type Props = {
  url: string;
  fit: any;
};

let props = withDefaults(defineProps<Props>(), {
  url: "",
  fit: "",
});
</script>

<style scoped lang="scss"></style>
